//登录类型
export  interface loginForm {
name:string,
password:string
}
export interface ApiResponse<T = any> {
    code:string,
    msg:string,
    data:T
}
export type LoginResponseData = string

//菜单类型
export interface MenuItem {
  path: string | null
  name: string | null
  label: string
  icon: string
  url: string | null
  children: MenuItem[] | null
}
//响应数据类型
export interface MenuResponse {
  code: string
  msg: string
  data: MenuItem[]
}